home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Super Shareware Collection
/
Super Shareware Collection.iso
/
os_2
/
pcx2ex14.zip
/
SCALEPCX.DOC
< prev
next >
Wrap
Text File
|
1994-02-01
|
1KB
|
35 lines
SCALEPCX
--------
ScalePCX scales a PCX file up or down to a user-provided size.
Use it like this :-
SCALEPCX nicepic.pcx [/x360] [/y480]
nicepic.pcx is the file to convert
/x360 scales the image to be 360 pixels WIDE ( horizontally )
The value should be between 1 and 800 inclusive.
/y480 scales the image to be 480 pixels DEEP ( vertically )
The value should be between 1 and 600 inclusive.
If only one scaling parameter is provided, the other will not be altered.
For example, if PIC1.PCX is a 640 by 480 256 colour image, and you want
to reduce it to 360 by 480, then you would use the command
SCALEPCX PIC1.PCX /x360
Once SCALEPCX has scaled the image, it is displayed centred on the screen.
If the image is too large to display, the cursor keys may be used to scroll
around and view the complete picture.
To leave the program, press the Escape key. The scaled image will be written
to a file; the file name is derived from the original name, with the two
characters "S_" added to the beginning. If this causes the file name to
exceed 8 characters in length, the trailing characters will be lost.
For example, HORSEBOX.PCX will become S_HORSEB.PCX.